
export namespace GlobalEnum {
    //#region -------------------------框架部分--------------------------
    //全局变量名称
    export enum GlobalDataType {
        Index = 0,
        /**canvas Node */
        Canvas,
        /**Camera 类型 */
        CameraUI,
        /**Camera 类型 */
        Camera3D,
    }

    //#endregion 

    //#region -------------------------自定义部分------------------------
    /**轨道类型 */
    export enum RailTypes {
        Rail_S = 'Rail_S', //直线
        Rail_C = 'Rail_C', //弧线
        Rail_L = 'Rail_L', //左线
        Rail_R = 'Rail_R', //右线
    }
    //
    export enum RailBoardType {
        RailBoard_C = 'RailBoard_C',  //半圆
        RailBoard_S = 'RailBoard_S',  //直线-可拆卸
        RailBoard_DS = 'RailBoard_DS',  //直线-固定
        RailBoard_DC = 'RailBoard_DC',  //弧线-固定
    }

    /**道路的状态 */
    export enum RailState {
        Create,
        Delete,
        Running,
    }
    //移动方向-顺时针
    export enum MoveDirec {
        Front, //-Z方向
        Right, //+X
        Back,  //+Z
        Left,  //-X
    }
    /**车厢/车头类型 */
    export enum TrainSkin {
        Train0,
        Train1,
        Train2,
    }
    /**机关类型 */
    export enum SwitchType {
        Fence,          //栏杆
        Tunner,         //隧道
        RailSwitch,     //三叉轨道开关
    }
    //5种机关颜色
    export enum SwitchColor {
        color0,
        color1,
        color2,
        color3,
        color4,
    }
    /**关卡场景类型 */
    export enum SceneType {
        City,
        Autumn,
        Summer
    }
    //奖励类型
    export enum AwardType {
        Energy = 0,
        Tip,
        Skin,
    }

    export enum LevelBtns {
        CreateBtn,
        DeleteBtn,
        RsetBtn,
        RunBtn,
        SkipBtn,
        TipBtn,
    }

    /**2D特效类型 */
    export enum Effect2DType {
        GetGold = 'GetGold',
    }

    /**3D特效类型 */
    export enum Effect3dType {
        Raod_join_boom = 'Raod_join_boom',      //连接成功
        Road_error_boom = 'Road_error_boom',    //错误链接
        Road_track_birth = 'Road_track_birth',  //出生/消失
        Road_track_change = 'Road_track_change', //变向
        Road_Train_run_smoke = 'Road_Train_run_smoke',  //车头
        Road_Transition_smoke = 'Road_Transition_smoke', //过场
    }

    /**自定义附加属性 */
    export enum ExtralProp {

    }
    //合并效果预制体名称
    export enum MergeEffectType {
        MergeEffect = 'mergeEffect',
        MergeFrameAnim = 'mergeFrameAnim',
    }
    //合并效果的类型
    export enum MergeType {
        Boom0,
    }

    //#endregion
}

